package cn.tedu.sgs.record.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class RecordVO {
	@ApiModelProperty(value = "记录id")
	private Long id;
	@ApiModelProperty(value = "用户id")
	private Long userId;
	@ApiModelProperty(value = "垃圾名称")
	private String name;
	@ApiModelProperty(value = "垃圾类别")
	private String category;
	@ApiModelProperty(value = "投放时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date createTime;
	@ApiModelProperty(value = "数量")
	private Integer num;
	@ApiModelProperty(value = "状态(未审核10、已通过20、未通过30)")
	private Integer status;
	@ApiModelProperty(value = "积分")
	private Integer points;
}
